﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microsoft.Office.OneNote
{
    internal static class DoubleHelper
    {
        public static bool AreClose(double left, double right)
        {
            return AreClose(left, right, 0.00001);
        }

        public static bool AreClose(double left, double right, double epsilon)
        {
            return Math.Abs(left - right) < epsilon;
        }
    }
}
